package org.xuyuji.study.spring_hibernate_demo.dao;

import java.util.List;

import org.xuyuji.study.spring_hibernate_demo.entity.User;

public interface UserDao {
	public int insert(User user);
	
	public void delete(int id);
	
	public void update(User user);
	
	public User selectById(int id);
	
	public List<User> selectAll();
}
